﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityModel
{
    /// <summary>
    /// 学校财务报表类
    /// </summary>
    public class EM_Financial
    {
        /// <summary>
        /// 财务编号
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid ID { get; set; }

        /// <summary>
        /// 收入
        /// </summary>
        [Required]
        public Double Income { get; set; }

        /// <summary>
        /// 支出
        /// </summary>
        [Required]
        public Double Expenses { get; set; }

        /// <summary>
        /// 利润
        /// </summary>
        [Required]
        public Double profit { get; set; }

        /// <summary>
        /// 收入时间
        /// </summary>
        public DateTime Income_Time { get; set; }

        /// <summary>
        /// 支出时间
        /// </summary>
        public DateTime Expenditure_Time { get; set; }


    }
}
